﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SampleLibrary
{
    public class PrimeNumberDetector
    {
        private bool IsPrime(int val)
        {
            Console.WriteLine(string.Format("Input provided: {0}", val));
            System.Threading.Thread.Sleep(2000);
            return true;
        }

        public void GetIsPrimeResult(int val)
        {
            Console.WriteLine(this.IsPrime(val));
        }

        public void DoSomething(int val)
        {
            Console.WriteLine(val);
            System.Threading.Thread.Sleep(1000);
        }
    }
}
